import './App.css'

import ComFunc from './views/ComFunc'
import HookState from './views/HookState'
import HookEffect from './views/HookEffect'
import HookCallback from './views/HookCallback'
import HookReducer from './views/HookReducer'
import HookRef from './views/HookRef'

function App() {

  return (
    <div className="App">
      <h2>函数式组件</h2>
      <hr />
      <ComFunc cname="大牧" />
      <hr />
      <HookState />
      <hr />
      <HookEffect />
      <hr />
      <HookCallback />
      <hr />
      <HookReducer />
      <hr />
      <HookRef />
    </div>
  )
}

export default App
